﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KingdeeViewBillDemo
{
    public class ResultModel
    {
        public Result Result { set; get; }
        public ResponseStatus ResponseStatus { set; get; }
    }

    public class Result
    {
        public String Id { set; get; }
        public String BillNo { set; get; }
        public  String DocumentStatus { set; get; }
        public CustId CustId { set; get; }
        public string Date { set; get; }
        public List<SaleOrderEntry> SaleOrderEntry { set; get; }

    }

    public class CustId
    {
        public List<Name> Name { set; get; }
    }

    public class Name
    {
        public string Value { set; get; }
    }

    public class SaleOrderEntry
    {
        public string Id { set; get; }
        public string MaterialId_Id { set; get; }
        public string UnitId_Id { set; get; }
        public string Price { set; get; }
        public string TaxPrice { set; get; }
        public string BomId_Id { set; get; }
        public string PriceUnitId_Id { set; get; }
        public string PriceUnitQty { set; get; }
        public string AllAmount { set; get; }
        public string TaxNetPrice { set; get; }
        public string BaseUnitQty { set; get; }
        public string DeliveryMaxQty { set; get; }
        public string DeliveryMinQty { set; get; }
        public string AllAmount_LC { set; get; }
        public string RemainOutQty  { set; get; }
        public string Amount { set; get; }
        public string DeliveryDate { set; get; }
        public string F_Orderid_Text { set; get; }
        public string StockQty { set; get; }
    }

    public class ResponseStatus
    {
        public string IsSuccess { set; get; }
    }
}
